home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / u_man / cat1 / lpq.z / lpq
Text File  |  1998-10-30  |  3KB  |  67 lines

  1.  
  2.  
  3.  
  4. LLLLPPPPQQQQ((((1111))))                          PPPPrrrriiiinnnnttttiiiinnnngggg TTTToooooooollllssss                          LLLLPPPPQQQQ((((1111))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      lpq - BSD print spool queue examination program
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      llllppppqqqq [ -l ] [ -Pprinter ] [ job # ... ] [ user ... ]
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      _l_p_q examines the spooling area used by _l_p_d(1M) for printing files on the
  16.      line printer, and reports the status of the specified jobs or all jobs
  17.      associated with a user.  _l_p_q invoked without any arguments reports on any
  18.      jobs currently in the queue.  A ----PPPP flag may be used to specify a
  19.      particular printer, otherwise the default line printer is used (or the
  20.      value of the PRINTER variable in the environment). All other arguments
  21.      supplied are interpreted as user names or job numbers to filter out only
  22.      those jobs of interest.
  23.  
  24.      For each job submitted (i.e. invocation of _l_p_r(1)) _l_p_q reports the user's
  25.      name, current rank in the queue, the names of files comprising the job,
  26.      the job identifier (a number which may be supplied to _l_p_r_m(1) for
  27.      removing a specific job), and the total size in bytes.  The ----llll option
  28.      causes information about each of the files comprising the job to be
  29.      printed.  Normally, only as much information as will fit on one line is
  30.      displayed.  Job ordering is dependent on the algorithm used to scan the
  31.      spooling directory and is supposed to be FIFO (First in First Out).  File
  32.      names comprising a job may be unavailable (when _l_p_r(1) is used as a sink
  33.      in a pipeline) in which case the file is indicated as ``(standard
  34.      input)".
  35.  
  36.      If _l_p_q warns that there is no daemon present (i.e. due to some
  37.      malfunction), the _l_p_c(1M) command can be used to restart the printer
  38.      daemon.
  39.  
  40. FFFFIIIILLLLEEEESSSS
  41.      /etc/printcap           to determine printer characteristics
  42.      /usr/spool/*            the spooling directory, as determined from printcap
  43.      /usr/spool/*/cf*        control files specifying jobs
  44.      /usr/spool/*/lock       the lock file to obtain the currently active job
  45.  
  46. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  47.      lpr(1), lprm(1), lpc(1M), lpd(1M)
  48.  
  49. BBBBUUUUGGGGSSSS
  50.      Due to the dynamic nature of the information in the spooling directory
  51.      lpq may report unreliably.  Output formatting is sensitive to the line
  52.      length of the terminal; this can results in widely spaced columns.
  53.  
  54. DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  55.      Unable to open various files.  The lock file being malformed.  Garbage
  56.      files when there is no daemon active, but files in the spooling
  57.      directory.
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.